package alp.starcode.framework.enums;

public enum UserTypeEnum {
    USER_TYPE_SELL(1,"商家"),
    USER_TYPE_BUYER(2,"买家"),
    USER_TYPE_TAKEAWAYER(3,"外卖员"),
    USER_TYPE_ADMIN(4,"管理员");

    private Integer code;
    private String type;

    UserTypeEnum(){

    }

    UserTypeEnum(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
